﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YXShop.IDAL.Templates;

namespace YXShop.DALFactory
{
    public sealed partial class DataAccess
    {
        /// <summary>
        /// 标签管理
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.Templates.ILabel CreateLabel()
        {
            return (ILabel)CreateObject("Templates.Label");
        }
        /// <summary>
        /// 标签类型
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.Templates.ILabelType CreateLabelType()
        {
            return (ILabelType)CreateObject("Templates.LabelType");
        }
        /// <summary>
        /// 自由标签
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.Templates.IFreeLabel CreateFreeLabel()
        {
            return (IFreeLabel)CreateObject("Templates.FreeLabel");
        }
    }
}
